home *** CD-ROM | disk | FTP | other *** search
Text File | 1978-03-20 | 33.3 KB | 1,178 lines |
- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- > >
- > >>>>>>>>>> > > >>>>>>> >>>>>>>> >
- > > > > > > > >
- > > > > > > > >
- > > > > > > > >
- > > > > > > > >>> >>> >>>>> >>>>> >
- > > > > > > >>>>>>>> > > > > > > >
- > > >>>> > > > > > > > > > > >
- > > > > > > > > > > > > > >>>>> >
- > > > > > > > > > > > > > >
- > >>>>>>>>>> >>>>>>> >>>>>>> > > > > >>>>> >>>>> >
- > >
- >**************************************************************************>
- >*******************COPYRIGHT 1995©® (Level 9 Software)********************>
- >**************************************************************************>
-
- Thanks for purchasing this from your PD library, you can freely distribute
- this program, as long as this document and all other files on the disk are
- present, and no money is gained, other than the cost of the disk it is
- distributed on.
-
- Even though this program is freely distributable, it has taken 3 months of
- hard work, & I would be grateful for any feedback
- (money!, postcards, any Amos code or programs written in GUIAmos).
-
- Thanks!
-
- My address is.........
-
- Andrew Fisher
- Level 9 Software
- Ingleside
- 60 Burgh Lane
- Mattishall
- E Dereham
- Norfolk
- NR20 3QR
-
-
- >*************************************************************************>
-
- (Unfortunately this program saves out ascii text that is only FULLY
- compatible with AMOSPro, but some of the Gadgets are compatable with the
- other versions of Amos, (see list below)
-
- What is it?
-
- When I write programs in amos, I find it increasingly difficult to create
- a decent interface that is easy to use and quick to put together, the
- interface used to take longer than writing the main code!!
-
- Therefore I decided to make GUIAmos (Graphical User Interface Amos), it aids
- you in the design of your interface's, including....
-
- GADGET: COMPATIBLE VERSIONS
-
- 6 Types of Bevel Box (All versions)
- Buttons (All Versions)
- Tick Box's (All Versions)
- Block Box's (All Versions)
- Horozontal Sliders (Amos Pro/Amos 1.1+)
- Horozontal Scrollers (Amos Pro/Amos 1.1+)
- Vertical Sliders (Amos Pro/Amos 1.1+)
- Vertical Scrollers (Amos Pro/Amos 1.1+)
- Text zones (Amos Pro)
- Number zones (Amos Pro)
- GetFile (All Versions)
- Toggle gadgets (All Versions)
- Menus (All Versions)
-
- When you have set out your interface you can save out the code as ascii text,
- and import it into Amos.
-
- You can then add the rest of your code to the gadgets and your next super
- utility is winging it's way to the PD librarys! Easy!
-
- Remember ** You will recieve any GUIAmos Updates, FREE of charge! ***
-
- **************************************************************************
-
- THINGS YOU SHOULD KNOW:
-
- You can turn the rather slow but useful Cross pointer on/off by pressing
- the DEL button
-
- There is also Online Help by pressing HELP
-
- Drawing screen = The screen that is blank when you load GUIAmos, this is
- where the graphics (Buttons etc) are drawn .
-
- Icon Screen = The screen that has all of the coordinates of the mouse
- pointer, sizes of box's etc, and the icons representing each gadget.
-
- **************************************************************************
-
- HOW TO START GUIAmos:
-
- You can run GUIAmos from Hard Drive or Floppy, to install onto HD just
- drag it into the draw you want it to load from.
-
- Double click on it's Icon, after a few secs you will be presented with a
- screen showing the Level 9 Software logo, (click the mouse button).
-
- >>>>>>>>>>>
-
- You will now see a screen showing different screen resouloutions (Written
- in GUIAmos).
-
- Click on your desired resouloution and the maximum number of colours
- (4 is the minimum, because they are needed for the 3D look buttons etc).
-
- When you are sure, click on the button marked (Start GUIAmos)
-
- >>>>>>>>>>>
-
- Prefs:
-
- You will then see another screen, (Sorry about all of these separate screens
- but it keeps things simple!), this is the preferences screen.
-
- Here are the prefs you can set:
-
- Detect Zones: (Tick Box)
-
- If the tick is in the box it means that GUIAmos will automatically check if
- you place a gadget on top of another gadget (It slows the program down
- though). If you can manage without this checking, and want the extra speed
- leave it off!
-
- >>>>>>>>>>>
-
- Set Zone loop: (Tick box)
-
- If the tick is not in the box it means that when the code is saved out the
- part of the code where the zones are set will be like this...
-
- eg.
-
- Reserve Zone 34
-
- Set Zone 1,10,32 to 90,70
- Set Zone 2,90,29 to 190,78
- Set Zone 3,5,10 to 34,32
- |
- ** Up to 34 **
-
- But if it is ticked it will appear like this (more compact)...
-
- Reserve Zone 34
- For I=1 To 34
- If TYPE(I)=1 or TYPE(I)=4 or TYPE(I)=6 or TYPE(I)=7 or TYPE(I)=23
- Set Zone i,X1(i),Y1(i) To X2(i),Y2(i)
- End If
- Next I
-
- >>>>>>>>>>>
-
- Rems in code: (Tick Box)
-
- If this gadget is ticked it means that all of my remarks (to explain the
- final code), will be in the code. But if it is off, they will not be
- saved along with the code (i.e when you know how the program works and
- don't need my feeble remarks!).
-
- >>>>>>>>>>>
-
- Save Zone List: (Tick Box)
-
- If this is ticked a seperate ascii file will be created which will aid
- you in knowing what each and every Amos Zone (using the Set Zone command)
- is. (it will be saved as (file.ZONES), where file is, this will be your file
- name).
-
- NOTE: The Text/Numric zones do not use Amos zones so will be displayed
- as (Variable 1) etc.
-
- e.g
-
- EACH OF THE ZONES AND THERE GADGETS
-
- ( 1) A Button
- ( 2) A Tick Box,Type=Tick,Status=Off
- ( 3) A Tick Box,Type=Tick,Status=On
- ( 4) A Tick Box,Type=Block,Status=Off
- ( 5) A Tick Box,Type=Block,Status=On
- ( 6) A Horozontal Slider,Divs= 80,Pos 1
- ( 7) A Vertical Slider,Divs= 86,Pos 1
-
- (The numbers in brackets are the Zone numbers)
-
- >>>>>>>>>>>
-
- Tick Box XSize: (Slider)
-
- If you drag this slider it will adjust the X size of the tick box
- and the newly sized Tick box is displayed at the bottom of the screen
-
- >>>>>>>>>>>
-
- Tick Box YSize: (Slider)
-
- If you drag this slider it will adjust the Y size of the tick box
- and the newly sized Tick box is displayed at the bottom of the screen
-
- >>>>>>>>>>>
-
- Get file Xsize: (Slider)
-
- If you drag this slider it will adjust the X size of the getfile gadget
- and the newly sized Getfile is displayed at the bottom of the screen
-
- >>>>>>>>>>>
-
- Get File YSize: (Slider)
-
- If you drag this slider it will adjust the Y size of the getfile gadget
- and the newly sized Getfile is displayed at the bottom of the screen
-
- >>>>>>>>>>>
-
- WB Look title bar: (Tick Box)
-
- When selected this draws a bar, similar to the one on the wb screen
-
- >>>>>>>>>>>
-
- Auto Save IFF a GUI: (Tick Box)
-
- Automatically saves the Iff file with the file name "GUI", otherwise
- it will ask you for a name.
-
- Press Go!
-
- And the program will start.
-
- **************************************************************************
-
- HOW TO USE THE EDITOR:
-
- I will now explain all of the buttons and options involved in GUIAmos,
- including the variables that the gadget affects in the finished code.
-
- These are the icons from left to right......
-
- **************************************************************************
-
- BUT (ICON) (key Shortcut (B))
-
- Click left on this icon and you can draw a (thin) 3d box on the drawing
- screen, that will transform into a button, when you import it into the
- Editor. Click right and same as above but (Thick 3d box).
-
- Affected Variables:
-
- TYPE = Type of gadget (Thin (1), Thick (80))
- X1=Starting x position of the button
- Y1=Starting y position of the button
- X2=Ending x position of the button
- Y2=Ending y position of the button
- eg.
- Y1
- X1**********
- * *
- * *
- **********X2
- Y2
-
- **************************************************************************
-
- Bevel Box (Out): (Key shortcut (O))
-
- Click on the Bevel Box icon until you reach the disired Type of Bevel,
- there are 3 to choose from. and with the mouse pointer over the drawing
- screen hold down the left mouse button and drag the box out to your
- required size.
-
- ***************************************************************************
-
- Bevel Box (In): (Key shortcut (I))
-
- Click on the Bevel Box icon until you reach the disired type of bevel,
- there are 3 to choose from and with the mouse pointer over the drawing
- screen hold down the left mouse button and drag the box out to your
- required size.
-
- ***************************************************************************
-
- Toggle (Key Shortcut (T))
-
- Click on the Toggle icon, and with the mouse pointer over the drawing
- screen hold down the left mouse button and drag the box out to your
- required size.
-
- You will then be asked how many toggles the toggle box will cycle through
-
- e.g
-
- If you wanted it to toggle between On & Off, this would be 2 toggles.
-
- When you have typed the number of toggles and pressed return, you will
- be presented with another screen, with the required number of text edit
- zones. The first one is the default text, the second is the next piece
- of text to appear, and so on.
-
- Just type in the text you want and press the DONE button or press escape
- on the keyboard, to cancel the toggle gadget.
-
- Affected Variables
- TYPE() = Type of gadget (22)
- PS() = Holds the current toggle number
- TGLES() = Holds the number of toggles to cycle through
- X1=Starting x position of the button
- Y1=Starting y position of the button
- X2=Ending x position of the button
- Y2=Ending y position of the button
- eg.
- Y1
- X1**********
- * *
- * *
- **********X2
- Y2
-
- ***************************************************************************
-
- IFF S (Save the drawing screen as an iff) (Key shortcut (Shift S)
-
- This saves the drawing screen as an Iff picture, when you click on the icon
- you will be required to click choose the file name to save it as.
-
- ***************************************************************************
-
- ? (Info) (Key Shortcut (?))
-
- If you click on this icon, you will be shown a screen identical to the
- one in the copy function, if you run the pointer over the gadget you
- will be given all the information you need about it.
-
- **************************************************************************
-
- Del (Delete) (Key shortcut (d))
-
- If you click on this icon you will be represented with the same info
- bar as with the Copy/Info tools, if you click on a gadget it will be
- totally destroyed, including all variables
-
- ****WARNING**** You cannot undo after deletion *******
-
- **************************************************************************
-
- Horozontal Slider: (Key shortcut (h)
-
- To place a horozontal slider on the screen, select the icon and with the
- mouse in the drawing screen hold down the left mouse button and drag a
- box (this will be the slider!).
-
- You will then be presented with another screen, it will ask you..
-
- Type the no. of units the bar is divided into..(Min 2)
-
- You can then type a number between those values and the slider will be
- divided into that number. Press return to enter the value.
-
- You will then be asked....
-
- Type the start position of the slider..(1-Amount)
- (where amount is, is the amount the slider is devided into)
-
- You can then type the start position that the slider will start at.
- Press return to enter the value.
-
- Affected Variables:
-
- Type = Type of gadget (7)
- X1 = Starting x position of the Slider
- Y1 = Starting y position of the Slider
- X2 = Ending x position of the Slider
- Y2 = Ending y position of the Slider
- _TOT() = The number of division the slider is divided into
- POS() = The start position (At begining), and current position of
- the slider
-
- ***************************************************************************
-
- Vertical Slider: (Key shortcut (v)
-
- To place a Vertical slider on the screen, select the icon and with the
- mouse in the drawing screen hold down the left mouse button and drag a
- box (this will be the slider!).
-
- You will then be presented with another screen, it will ask you..
-
- Type the no. of units the bar is divided into..(Min 2)
-
- You can then type a number between those values and the slider will be
- divided into that number. Press return to enter the value.
-
- You will then be asked....
-
- Type the start position of the slider..(1-Amount)
- (Where Amount is, is the Amount of divisions the slider is devided into)
-
- You can then type the start position that the slider will start at.
- Press return to enter the value.
-
- Variables:
-
- Type = Type of gadget (6)
- X1 = Starting x position of the Slider
- Y1 = Starting y position of the Slider
- X2 = Ending x position of the Slider
- Y2 = Ending y position of the Slider
- _TOT() = The number of division the slider is divided into
- POS() = The start position (At begining), and current position
- of the slider
-
- ***************************************************************************
-
-
- Horozontal Scroller: (Key shortcut (Shift H))
-
- Firstly you will notice Four tiny Icons, named T,B,L,R
-
- The last two L & R, stand for Left and right, if you click on either
- of these, it will change the position of the Scroller arrows, on either
- the left or the right of the slider.
-
- >>>>>>
-
- To place a horozontal scroller on the screen..
-
- Select the Horozontal slider icon with the RIGHT mouse button
- Move the mouse around in the drawing screen, you will see a box already on
- the screen, this is representing the Scroll icons on the end of the slider.
-
- Hold your left mouse button down and drag a box out, this is the slider.
-
- You will then be presented with another screen, it will ask you..
-
- Type the no. of units the bar is divided into..(Min 2)
-
- You can then type a number between those values and the slider will be
- divided into that number. Press return to enter the value.
-
- You will then be asked....
-
- Type the start position of the slider..(1-Amount)
- (where amount is, is the amount the slider is devided into)
-
- You can then type the start position that the slider will start at.
- Press return to enter the value.
-
- GUIAmos will then draw the slider, and the scroller arrows on the side you
- have selected.
-
- Affected Variables:
-
- Type = Type of gadget (7 for H slider & Hscroll=34)
- X1 = Starting x position of the Slider
- Y1 = Starting y position of the Slider
- X2 = Ending x position of the Slider
- Y2 = Ending y position of the Slider
- _TOT() = The number of division the slider is divided into
- POS() = The start position (At begining), and current position of
- the slider
-
- ***************************************************************************
-
- Vertical Scroller: (Key shortcut (Shift V))
-
- Firstly you will notice Four tiny Icons, named T,B,L,R
-
- >>>>>>>
-
- The first two T & B, stand for Top and Bottom, if you click on either
- of these, it will change the position of the Scroller arrows, on either
- the Top or the Bottom of the slider.
-
- >>>>>>
-
- To place a Vertical scroller on the screen..
-
- Select the Vertical slider icon with the RIGHT mouse button
- Move the mouse around in the drawing screen, you will see a box already on
- the screen, this is representing the Scroll icons on the end of the slider.
-
- Hold your left mouse button down and drag a box out, this is the slider.
-
- You will then be presented with another screen, it will ask you..
-
- Type the no. of units the bar is divided into..(Min 2)
-
- You can then type a number between those values and the slider will be
- divided into that number. Press return to enter the value.
-
- You will then be asked....
-
- Type the start position of the slider..(1-Amount)
- (where amount is, is the amount the slider is devided into)
-
- You can then type the start position that the slider will start at.
- Press return to enter the value.
-
- GUIAmos will then draw the slider, and the scroller arrows on the side you
- have selected.
-
- Affected Variables:
-
- Type = Type of gadget (6 for H slider & Vscroll=35)
- X1 = Starting x position of the Slider
- Y1 = Starting y position of the Slider
- X2 = Ending x position of the Slider
- Y2 = Ending y position of the Slider
- _TOT() = The number of division the slider is divided into
- POS() = The start position (At begining), and current position of
- the slider
-
- **************************************************************************
-
- Tick Box: ((Key shortcut (z))
-
- Click on the icon and with the mouse pointer on the drawing screen, hold
- down the left mouse button and you can drag the tick box sized box around
- the screen. When it is the correct position, let go of the the mouse
- button.
-
- To toggle the tick on the tick box (On / Off) press the right mouse button
- over the Tick box icon.
-
- To toggle the Tick to a Block, click the left mouse button over the tick
- box icon.
-
- *** (The tick is not shown until the finished code is ported into amos!)**
-
- Variables:
-
- TYPE() = ID Number of the gadget (4)
- TY() = Returns a (1) if it is a tick and a (0) if it is a Block
- _ONOF() = Returns a (1) if tick is on and a (0) if it is off
- These are used to draw the ticks/Blocks inside the boxes
- X1 = Starting x position of the Tick Box
- Y1 = Starting y position of the Tick Box
- X2 = Ending x position of the Tick Box
- Y2 = Ending y position of the Tick Box
-
- ***************************************************************************
-
- Get File: (Key Shortcut(f))
-
- Click on the icon and with the mouse pointer on the drawing screen, hold
- down the left mouse button and you can drag the Get File sized box around
- the screen. When it is the correct position, let go of the the mouse
- button.
-
- Afected variables:
- TYPE() = ID Number of the gadget (23)
- FILE$() = Stores the file name that is selected
-
- ***************************************************************************
-
- IFF L (Loads a previous iff image onto the drawing screen)
- (Key Shortcut (Shift L))
-
- This loads an Iff picture into the drawing screen, when you click on the icon
- you will be required to click choose the file name to load.
-
- You will then be warned that this will destroy all of you zones and
- everything to do with your previous GuiAmos Program (So save it first!)
-
- **************************************************************************
-
- ED (Edit the Tick Boxes, Sliders, Toggle ) (e)
-
- This is the edit function, select this and you will then see a black
- screen with white text.
-
- Heres what information appears in that screen when you move the pointer
- over a.......
-
- Tick Box:
-
- Zone number
- Xstart/Ystart
- Xfinish/YFinish
- Type of Gadget as a (Tick Box)
- Tick On/Off (Whether the tick is on or off on startup)
- Tick Tick/Block (Whether the tick is a Tick or Block)
-
- To edit a Tick Box...
-
- Click on the Tick box you want to edit, and a screen will apear with...
-
- Some Buttons..
-
- Tick On --|Click on one of these two to change whether the tick is on
- Tick Off--|or off as default.
-
- Tick------|Click on one of these two to change whether the tick is a tick
- Block-----|or a block
-
- Which ever you click on, the prefs will be displayed to the left.
-
- Click on ok to return back to GUIAmos.
-
- *********
-
- Sliders (Horozontal/Vertical):
-
- Zone number
- Xstart/Ystart
- Xfinish/YFinish
- Type of Gadget as a (H/V Slider)
- No. Divisions (The number of divisions in that slider)
- Start Pos. (The Position of the slider at the start of the finished prog)
-
- To Edit the Slider:
-
- Click on the slider you want to edit...
-
- You will then be presented with another screen, it will ask you..
-
- Type the no. of units the bar is divided into..(Min 2)
-
- You can then type a number and the slider will be
- divided into that number.
-
- You will then be asked....
-
- Type the start position of the slider..(1-Amount)
- (Where Amount is, is the Amount the slider is devided into)
-
- You can then type the start position that the slider will start at.
- (If you press the return key, without a value, it will default to (1))
-
- ***********
-
- To Edit a toggle gad:
-
- Click on the toggle gad you want to edit, and the same screen will appear,
- as when you first created you toggle gad.
-
- **** Please do NOT use these characters in the text "'" and "`" *****
-
- ***************************************************************************
-
- L (Load GUIAmos Code) (Key shortcut (L)
-
- If you click on this you will be required to choose a (.dat file) of a
- previous GUIAmos program.
-
- It will then ask if you want to load the default file name ("GUI") or
- another. If you choose ("GUI"), it will try and find the ("GUI") file
- in the same directory, if it can't find it you will have to choose the
- correct one yourself.
-
- **************************************************************************
-
- S (Save GUIAmos Code) (Key shortcut (S))
-
- If you have choosen AUTO SAVE GUI in the prefs screen, it will save
- the Iff image ("GUI"), otherwise it will ask you for a name for the iff
- image. It will save all the data ("NAME.dat")
- and the Ascii code ("NAME.ASC").
-
- *** Don't Include the ".ASC" it is added for you ****
-
- **************************************************************************
-
- Text Editing Zone: (Key shortcut (A))
-
- To create an Editing zone, click on it's icon, and with the mouse pointer
- over the drawing screen, hold down the left mouse button and drag the box
- right. When you have the Zone in the correct place, let go of the mouse
- button and it will be drawn onto the drawing screen.
-
- You will then be asked...
-
- Type the max number of charecters (LEN - 200)
- (Where the LEN is, this is the length in charecters of you zone)
-
- You can then type the maximum number of charecters that the Edit zone can
-
- You will then be asked...
-
- Type the default text..
-
- Unfortunately, when drawing the zone, the X starting position has to be
- a multiple of 16, and the width of the zone has to be multiples of 8.
- Sorry! (I suggest you create these first to fit the other gadgets in!)
-
- Variables:
-
- X1 = Starting x position of the Zone
- Y1 = Starting y position of the Zone
- X2 = Ending x position of the Zone
- Y2 = Ending y position of the Zone
- _LEN() = The actual length of the zone in characters
- _MAXLEN() = The Maximum length in characters of the zone
- _DEF$() = The default text of the Zone
-
- To get the text from this to use in your program, use this command...
-
- S$=rdialog$(1,Zone)
-
- S$ = The string variable it will be stored in
- Zone = The zone number of the edit gadget
-
- (Look in your manual for more info!)
-
- ***************************************************************************
-
- Number Editing Zone: (Key shortcut (1))
-
- To create an Number Editing zone, click on it's icon, and with the mouse
- pointer over the drawing screen, hold down the left mouse button and drag
- the box right. When you have the Zone in the correct place, let go of the
- mouse button and it will be drawn onto the drawing screen.
-
- You will then be asked...
-
- Type the default Number (1-LEN)..
- (1- the Length in characters of the zone (Max 9 numbers))
-
- Unfortunately, when drawing the zone, the X starting position has to be
- a multiple of 16, and the width of the zone has to be multiples of 8, also
- the length can't be any more than 9 numbers. Sorry! (I suggest you create
- these first to fit the other gadgets in!).
-
- X1 = Starting x position of the Zone
- Y1 = Starting y position of the Zone
- X2 = Ending x position of the Zone
- Y2 = Ending y position of the Zone
- _LEN() = The actual length of the Num Zone in characters
- _MAXLEN() = 1 (Not needed for the num zone)
- _DEF$() = The default number of the Zone
-
- To get the text from this to use in your program, use this command...
-
- S=rdialog(1,Zone)
-
- S = The variable it will be stored
- Zone = The zone number of the edit gadget
-
- (Look in your manual for more info!)
-
- **************************************************************************
-
- SCISSORS (ICON): (Key shortcut (c))
-
- This is the copy function, select this and you will then see a black
- screen with white text.
-
- Heres what information appears in that screen when you move the pointer
- over a.......
-
- **************
-
- Button:
-
- Info Displayed...
-
- When you have the pointer over the Button you want to copy, it will
- display the...
-
- Zone number
- Xstart/Ystart
- Xfinish/Yfinish
- Type of Gadget as a (3D Button).
-
- Copying a button..
-
- Click on the button with your left mouse key and hold it down, you will
- now be able to move a box (The same size as the selected button) around
- the screen. When you have the button in the right place let go of the left
- mouse button and it will be placed on the screen.
-
- **************
-
- Tick Box:
-
- Info Displayed...
-
- When you have the pointer over the Tick Box you want to copy, it will
- display the...
-
- Zone number
- Xstart/Ystart
- Xfinish/YFinish
- Type of Gadget as a (Tick Box)
- Tick On/Off (Whether the tick is on or off on startup)
- Tick Tick/Block (Whether the tick is a Tick or Block)
-
- Copying a Tick Box..
-
- Click on the Tick Box with your left mouse button and hold it down, you will
- now be able to move a box (The same size as the Tick Box) around
- the screen. When you have the Tick Box in the right place let go of the left
- mouse button and it will be placed on the screen.
-
- (This copies the prefs of that tick box (Tick On/Off)(Block/Tick) etc.
- Editable with the edit funtion, explained earlier on)
-
- **************
-
- Sliders (Horozontal/Vertical):
-
- Info Displayed...
-
- When you have the pointer over the Slider you want to copy, it will
- display the...
-
- Zone number
- Xstart/Ystart
- Xfinish/YFinish
- Type of Gadget as a (H/V Slider)
- No. Divisions (The number of divisions in that slider)
- Start Pos. (The Position of the slider at the start of the finished prog)
-
- Copying a Slider..
-
- Click on the Slider with your left mouse button and hold it down, you will
- now be able to move a box (The same size as the slider) around
- the screen. When you have the slider in the right place let go of the left
- mouse button and it will be placed on the screen.
-
- (This copies the prefs of that slider (No. Divs / Start pos) Editable via
- the edit funtion, explained later.)
-
- *********
-
- Copying text/numric zones:
-
- This is identical to the others, but you have to re-enter the default text
- etc.
-
- *********
-
- Copying a H/Vscroller:
-
- This is exactly the same as copying a slider, but if also copies the
- scroller arrows.
-
- ***************************************************************************
-
- Palette (Change the palette) (Key shortcut (P))
-
- Click on the icon, and a screen will appear with 3 sliders, 4 colour
- buttons and 3 function buttons.
-
- Move the three sliders up and down to change either (R=Red)(G=Green)
- (B=Blue) shades. Click on the colour buttons (To the right), to choose
- which colour to change.
-
- You will also see, 3 other buttons,
-
- L:
-
- Asks you to load a palette set (.col)
-
- S:
-
- Asks you to save a palette set (.col)
-
- OK:
-
- Returns you back to GUIAmos
-
- ***************************************************************************
-
- MENU (Creates menus for your program (written in GUIAmos!))
- (Key shortcut (m))
-
- Click on it's icon, and you will be displayed with a screen containing
- 3 sliders and 3 text Edit zones...
-
- ******
-
- Menu Title (Text Zone):
-
- This is where you type the Title of each of your menu's.
-
- eg.
-
-
- Project Prefs Colour Palette
-
- ******
-
- Menu no. (Slider):
-
- This where you choose which menu title (Above) to edit
-
- eg.
-
- 1 2 3 4
- Project Prefs Colour Palette
-
- 1=Project
- 2=Prefs
- etc..
-
- ******
-
- Item (Text Zone):
-
- This is where you type the Item that goes under each of your menu's titles.
-
- e.g
-
- The first menu title could look like this...
-
- 1
- Project
- 1 Load
- 2 Save
- 3 Save as
- 4 Page
- 5 Page Size
- 6 Screen Format
- 7 About
- 8 Colours
- 9 Image Processing
- 10 Somthing else!
- 11 Quit
-
- ******
-
- Item No. (Slider)
-
- This where you choose which Item under each title (Above) to edit.
-
- ******
-
- Sub Item (Text Zone)
-
- This is where you type the Sub Item that can go under each of your menu's
- Items.
-
- e.g
-
- The first menu title and item could look like this...
-
- 1
- Project
- 1 Load Iff
- 2 Jpeg
- 3 Gif
- 4 Psx
- 5 Etc.
- 6 Etc.
- 7 Etc.
-
- ******
-
- Sub Item No. (Slider)
-
- This where you choose which Sub Item under each Item (Above) to edit.
-
- So to create a menu you have to first define a title for that menu, then
- the items that are below it and if you want you can define sub items for
- each of the items!
-
- When you have finished, if you click on OK, you will be able to test your
- menus, when you have finished press the left mouse button to return back
- to GUIAmos.
-
- If you want to destroy your menus, click on Erase (in the menu editor),
- it will ask if you are sure and then erase them.
-
- ***************************************************************************
-
- CLR ALL: (Clears the screen)
-
- Click on the Icon and it will ask you if you are sure, if you select yes
- it will destroy all of the zones and clear the screen.
-
- It will also ask if you want to clear the menus (Same as above!)
-
- ***************************************************************************
-
- U (Undo the last) (Key shortcut (u))
-
- If you click on this it will clear the last thing that you created.
-
- ***************************************************************************
-
- Q
-
- Quits the program
-
- **************************************************************************
-
- The Tiny (T),(B),(L),(R) Icons on the right are explained along with
- the H/VSCROLL gads.
-
- **************************************************************************
-
-
- The text next to the icons I have just explained, are to display...
-
- TICKS = This displays the number of Tick Box's on the Drawing screen.
-
- BUTTONS = This displays the number of Buttons on the drawing screen.
-
- HSLIDER = This displays the number of Horozontal Sliders on the drawing
- screen.
-
- VSLIDER = This displays the number of vertical Sliders on the drawing
- screen.
-
- T EDITS = the number of Text edit zones you have created.
-
- N EDITS = The number of Numric Edit Zones you have created.
-
- GETFILES = The number of getfiles you have created.
-
- TOGGLES = The number of Toggle gadgets you have created.
-
- ZONES = This displays the number of gadgets on the drawing screen
-
- TICK = This displays whether the tick is (ON / OFF)
-
- MENUS = This displays whether the Menus are on.
-
- XPOS = The X position of the mouse pointer
-
- YPOS = The Y position of the mouse pointer
-
- XSIZE = The Xsize of the gadget being drawn
-
- YSIZE = The Ysize of the gadget being drawn
-
-
- ***************************************************************************
-
- How to move the screen:
-
- If you press the right mouse button, when you are on the drawing screen
- and it will toggle the icon screen on and off.
-
- If you press the space bar, the screen will move from the top too the
- bottom of the screen and vice-versa.
-
- ***************************************************************************
-
- MISC:
-
- If you are creating any of the gadgets and decide that the start positon
- is in the wrong place (Before you have let go of the left mouse key), you
- can abort and try again if you press the space bar.
-
- ***************************************************************************
-
-
- ABOUT THE FINISHED CODE:
-
- When all of the gadgets are present, these are the routines that each
- gadget uses.
-
- Buttons...
-
- DEFINE: This routine places the lines on the screen for the button
- OFF: This routine resets the button to it's normal state
-
- Tick Box...
-
- _TICK: This places a tick on the screen
- _UNTICK: This turns off the tick
-
- Sliders...
-
- H/VSLIDER: This works out the position of the slider and updates it
-
- Scrollers...
-
- _V/HSCROLLER: This finds the side that the mouse is on up/down, and
- updates the slider.
-
- GetFiles...
-
- FILE: This brings up a file requester, and stores the file
-
- Toggles...
-
- SHIFT: This redraws the toggle gad, with the new text.
-
- >>>>>>>>>>>
-
-
- If the gadget has an identifying number for that type of gadget it will
- be in brackets, this number is stored in the variable TYPE()....
-
- Here are the I.D's of each gadget that are stored in the TYPE() variable.
-
- Gadget... I.D
-
- Button (Thin) (1)
- Tick Box (4)
- Horozontal Slider (6)
- Vertical Slider (7)
- Get File (23)
- Hscroller (34)
- Vscroller (35)
- Edit zone (20)
- Numric Edit Zone (21)
- Toggles (22)
- Button (Thick) (80)
-
- etc..
-
- When you have saved the code, you can import it into amos as ASCII text,
-
- It also saves out an iff image of the GUI, which is required, if you want
- to add any more text, or graphics to the interface, just use a good
- paint package.
-
-
- ***************************************************************************
-
- WHO DUNNIT!
-
- Coding by Andrew Fisher
- Graphics By Andrew Fisher
- Testing By Matthew Oaks (Moax The Hoax)
- The pain in the #?!*# Sooty the Poodle (Yes I know!, we have a poodle
- someone had to buy them)
-
- This program took me quite a while, on and off, the finished code is
- 4360 lines long
- With over 7040 instructions
- And over 210170 Characters!
- So is bound to have some hidden bugs
-
- If you find any bugs, small things that really anoy you or any new ideas
- for GUIAmos. If it is a bug or anoyance please tell me where it happens
- what it does, your machine +add ons, version of Amos, and other important
- things.
-
- Andrew Fisher
- Ingleside
- 60 Burgh Lane
- Mattishall
- E Dereham
- Norfolk
- NR20 3QR
-
- WHY!
-
- Because I wanted too OK!
-
- ON WHAT:
-
- I used the excelent....
-
- Amiga 1200 (Come on ESCOM get some new'uns out now!!!!)
- Blizzard 1220/4 (From Gordon Harwood Computers)
- Overdrive (420 MB HD) (From Special Reserve)
- Amos Pro (Of Course!) (Europress Software Ltd)
- CED (Cygnusoft Software)
- Philips CM8833 MKII (From Philips)
- Panasonic KXP2123 (From Panasonic)
- Dpaint (Electronic Arts)
-
- >>>>>>>>>>>>>>
-
- DISCLAMER:
-
- The author cannot be held liable for the suitability or accuracy of GUIAmos
- Any damage directly or indirectly caused by the use or misuse of GUIAmos
- is the sole responsibility of the user her/him self.
-
-
- HELLO...
-
- ...To one of my Amigan friend's in Austrailia (Paul England)
- ...To Matthew Oaks (MOAX), Dom, Becca Haig, Martin Herrmann
- ...And many others..